//
//  DGCoreTextPatternSetting.h
//  DGCoreTextView
//
//  Created by Jinxiao on 4/29/14.
//  Copyright (c) 2014 debugeek. All rights reserved.
//

#import "DGCoreTextPattern.h"

@interface DGCoreTextPatternSetting : NSObject

@property (readwrite, nonatomic, strong) NSString *predicate;

@property (readwrite, nonatomic, strong) UIColor *defaultColor;
@property (readwrite, nonatomic, strong) UIColor *highlightedColor;

@property (readwrite, nonatomic, strong) UIFont *defaultFont;
@property (readwrite, nonatomic, strong) UIFont *highlightedFont;

@property (readwrite, nonatomic, copy) void (^actionBlock) (DGCoreTextPattern *pattern);

- (NSArray *)preprocessedPatternsForString:(NSString *)string;

@end
